Carbon


KCRemoveCallback

Header: Keychain.h Carbon status: Under Evaluation

Unregisters your keychain event callback function.

OSStatus KCRemoveCallback (
    KCCallbackUPP callbackProc
);
Parameter descriptions
callbackProc

A Universal Procedure Pointer (UPP) to your keychain event callback function that was previously registered with the function KCAddCallback.

function result

A result code. The result code errKCInvalidCallback indicates that the callback function was not previously registered.

DISCUSSION

After you pass a UPP to your keychain event callback function to the KCRemoveCallback function, it will no longer be called by the Keychain Manager.

SPECIAL CONSIDERATIONS

After calling KCRemoveCallback, you should call the function DisposeKCCallbackUPP to dispose of the UPP to your callback function.

VERSION NOTES

Available beginning with Keychain 1.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)